#include <header.h>

void *run(void *arg){
	char *str = (char *)malloc(20);
	strcpy(str, "hello\n");
	
	return str;
}


int main(int argc, char* argv[]){
	
	pthread_t son_thread_id;
	pthread_create(&son_thread_id, NULL, run, NULL);
	
	void *ret;
	pthread_join(son_thread_id, &ret);

	printf((char*)ret);


	
	return 0;
}